# -*- coding: utf-8 -*-
# @Time: 2022/9/16 0:42
# @Author: foxhuty
# @File: forms.py
# @Software: PyCharm
# @Based on: python 3.10.6
import wtforms
from wtforms.validators import length


class ScheduleForm(wtforms.Form):
    deadline = wtforms.SearchField(validators=[length(min=2)])
    content = wtforms.SearchField(validators=[length(min=2)])


class ModifyForm(wtforms.Form):
    deadline = wtforms.SearchField(validators=[length(min=2)])
    content = wtforms.SearchField(validators=[length(min=2)])
